package com.atmilan.quartz.service.impl;

import com.atmilan.quartz.mapper.FolliProductSkuMapper;
import com.atmilan.quartz.model.entity.folli.FolliProductSku;
import com.atmilan.quartz.service.IFolliProductSkuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FolliProductSkuServiceImpl extends ServiceImpl<FolliProductSkuMapper, FolliProductSku> implements IFolliProductSkuService {
    @Autowired
    FolliProductSkuMapper folliProductSkuMapper;

    @Override
    public void deleteAll() {
        folliProductSkuMapper.deleteAll();
    }
    
    @Override
    public void copyAll() {
        folliProductSkuMapper.deleteProductSkuBack();
        folliProductSkuMapper.copyProductSkuBack();
    }

}
